package com.shiwaixiangcun.customer.network;

import com.shiwaixiangcun.customer.entity.ResponseEntity;

/**
 *
 * @author fyj
 * @date 2017/5/24
 */
public abstract class HttpCallBack<T> implements CallBack{

    /**
     *  成功回调, 返回json
     * @param responseJson
     */
    public void onSuccess(String responseJson){}

    /**
     *  成功回调, 返回实体
     * @param responseEntity
     */
    public void onSuccess(ResponseEntity<T> responseEntity){}
}
